package org.gary.corpration.service.impl;

import org.gary.core.factories.impl.BasicServiceFactoryImpl;
import org.gary.corpration.model.Corpration;
import org.gary.corpration.service.CorprationService;
import org.springframework.stereotype.Component;

/**
 * 企业信息Service实现类
 * @author Gary
 * 
 */
@Component("corprationService")
public class CorprationServiceImpl extends BasicServiceFactoryImpl<Corpration>
		implements CorprationService {

	@Override
	public Corpration getAboutus(Object lang) {
		return load(Corpration.class, lang);
	}

	@Override
	public Corpration load(Class<Corpration> entity, int id) {
		return getBasicDaoFactory().load(entity, id);
	}
}
